package com.yunpeng.aidevice.dao.model.record;

import com.yunpeng.aidevice.dao.model.BaseRecordDO;

/**
 * <p>
 * 报警设置
 * </p>
 *
 * @author hemw
 * @since 2020-04-26
 */
public class NoticeConfigDO extends BaseRecordDO {

    private static final long serialVersionUID = 1L;

    /**
     * 组织名称
     */
    private String orgName;

    /**
     * 组织代码
     */
    private String orgCode;

    /**
     * 手机号码
     */
    private String phone;

    /**
     * 电子邮箱
     */
    private String email;

    /**
     * 手机短信报警
     */
    private Boolean phoneMsgNotice;

    /**
     * 邮箱报警
     */
    private Boolean emailNotice;

    /**
     * 通知用户代码
     */
    private String userCode;

    /**
     * 通知用户
     */
    private String userName;

    /**
     * 报警规则代码
     */
    private String ruleCode;

    /**
     * 报警规则名称
     */
    private String ruleName;

    /**
     * 报警设备
     */
    private String deviceCode;


    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Boolean getPhoneMsgNotice() {
        return phoneMsgNotice;
    }

    public void setPhoneMsgNotice(Boolean phoneMsgNotice) {
        this.phoneMsgNotice = phoneMsgNotice;
    }

    public Boolean getEmailNotice() {
        return emailNotice;
    }

    public void setEmailNotice(Boolean emailNotice) {
        this.emailNotice = emailNotice;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRuleCode() {
        return ruleCode;
    }

    public void setRuleCode(String ruleCode) {
        this.ruleCode = ruleCode;
    }

    public String getRuleName() {
        return ruleName;
    }

    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    @Override
    public String toString() {
        return "NoticeConfigDO{" +
                "id=" + id +
                ", creator=" + creator +
                ", createTime=" + createTime +
                ", updater=" + updater +
                ", updateTime=" + updateTime +
                ", flag=" + flag +
                ", orgName=" + orgName +
                ", orgCode=" + orgCode +
                ", phone=" + phone +
                ", email=" + email +
                ", phoneMsgNotice=" + phoneMsgNotice +
                ", emailNotice=" + emailNotice +
                ", userCode=" + userCode +
                ", userName=" + userName +
                ", ruleCode=" + ruleCode +
                ", ruleName=" + ruleName +
                ", deviceCode=" + deviceCode +
                "}";
    }
}
